<?php
class Strings {
	const BAD_REQUEST = "Bad Request";
	const NOT_FOUND = "Not Found";
	
	const INVALID_FILTER_MESSAGE = "Invalid filter";
	const NO_COURSES_FOUND_MESSAGE = "No courses found";
	const COURSE_CODE_NOT_VALID = "Course code not valid";
	const NO_STUDY_GROUPS_FOUND = "No study groups found";	
	const INVALID_TAKE = "Take should be numeric";
	const INVALID_SKIP = "Skip should be numeric";
	const NO_ROOMS_RESULTS_MESSAGE = "No rooms found";
	const INVALID_ROOM_ID = "Invalid Room Id";
	const NO_BOOKINGS_RESULTS_MESSAGE = "No bookings found";
	const INVALID_DATE = "Invalid date. Date should have the following format '2012-01-25'";
	const SECRETARY_SUPPORT = "Secretary support has been fully implemented yet";
	const NO_PERMISSIONS_FOR_BOOKING = "You don't have permissions to modify this booking or the booking Id is not valid";
	const DATA_BASE_ERROR = "DataBase Error"; 
	const HTTP_METHOD_NOT_SUPPORTED = "HTTP method not supported";

	// Booking body related messages
	const BOOKING_START_DATE = "Booking start date is not set";
	const BOOKING_START_DATE_INVALID = "Booking start date is invalid. Date should have the following format '2012-01-25 08:22:44'";
	const BOOKING_END_DATE = "Booking end date is not set";
	const BOOKING_END_DATE_INVALID = "Booking end date is invalid. Date should have the following format '2012-01-25 08:22:44'";
	
	const BOOKING_TEACHER_ID = "Teacher ID is not set";
	const BOOKING_TEACHER_ID_INVALID = "Teacher ID is invalid";
	
	const BOOKING_COURSE_CODE = "Course Code is not set";
	
	const BOOKING_ROOM_ID = "Room ID is not set";
	const BOOKING_ROOM_ID_INVALID = "Room ID is invalid";
	
	const BOOKING_TYPE_OF_CLASS_ID = "Type of class ID is not set";
	const BOOKING_TYPE_OF_CLASS_ID_INVALID = "Type Of Class is invalid";
	
	const BOOKING_STUDY_GROUPS = "Study Groups are not set";
	const BOOKING_STUDY_GROUPS_INVALID = "Study Groups invalid";
	
	const BOOKING_INVALID_BOOKING_ID = "Invalid booking id";
	const BOOKING_DATES_IN_THE_PAST = "Booking start-time/end-time cannot be in the past";
	const BOOKING_DATES_SAME_DAY = "The booking start-time and end-time must be in the same day";
	const BOOKING_DATES_60_MINUTES = "The booking should last at least 60 minutes";
	const BOOKING_DATES_EARLIER = "The start time should be earlier than the ending time";
	const BOOKING_INVALID_TEACHER_COURSE = "Invalid teacher - course association";
	const BOOKING_INVALID_ROOM_FACULTY = "The faculty owning the selected course can not use the selected room";
	const BOOKING_ROOM_ALREADY_BOOKED = "Room already booked for the selected time interval";
	const BOOKING_COURSE_TYPE_OF_CLASS = "The course doesn't have the selected type of class";
    
	// User Relate Messages
	const INVALID_USER_TYPE = "Invalid user type";
	const EMAIL_NOT_SET = "Email not set";
	const PASSWORD_NOT_SET = "Password not set";
	const USER_TYPE_NOT_SET = "User type not set";
	const EMAIL_AND_PASSWORD_NOT_RECOGNIZED = "Invalid email/password";
	const INVALID_TOKEN = "Invalid authorization";
	const USER_UNAUTHORIZED = "This user is unauthorized to access these services";
	const USER_FORBIDDEN = "This user has forbidden access";
	const AUTH_TOKEN_MISSING = "The Authorization header was not set";
	
	// JSON Invalid
	const INVALID_BOOKING_JSON_FORMAT = "Invalid booking JSON format";
	const COURSE_CODE_NOT_SET = "Course code not set";
	const DEVICE_ID_NOT_SET = "Device id not set";
	const DEVICE_ALREADY_REGISTERED = "Device already registered for the selected course";
	const INVALID_ID_DEVICE_PAIR = "The device is not registered for the selected course";
    
    // Notifications messages
    const BOOKING_ADDED = "A new event was added for course %s with starting time %s";
    const BOOKING_UPDATED = "An event was updated for course %s having the new starting time %s";
    const BOOKING_DELETED = "An event for course %s having the starting time %s was deleted";
}
?>